<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=2.0"> -->
    <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">

    <title>Flappy Bird</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        html,body{
            width: 100%;
            height: 100%;
        }

        canvas {
            display: block;
            border: 1px solid peru;
            margin: 0 auto;
            background-image: url(pic/背景.png);
            background-size: cover;
            background-position: 0 -5rem;
        }
    </style>
</head>

<body>

    <canvas id="canvas"></canvas>


    <audio src="music/煞笔.mp3"></audio>


    <script src="Game.js"></script>
    <script src="FrameUtil.js"></script>
    <script src="StaticResoursesUtil.js"></script>
    <script src="Background.js"></script>
    <script src="Bird.js"></script>
    <script src="Pipe.js"></script>
    <script src="ScoreManager.js"></script>
    <script src="Restart.js"></script>


    <script>
        
        const game = new Game({
            fps: 60,
            canvasId: "canvas",
        });

    </script>
</body>

</html>